package com.zy.enumtest;

/**
 * @Author Gong
 * @Description
 * @dATE 2021/12/8 16:41
 **/
public class Test {
    public static void main(String[] args) {
//        SeasonEnum spring = SeasonEnum.SPRING;
//        System.out.println(spring.getSeasonName());
//        System.out.println(spring.getSeasonDesc());

        SeasonEnum[] values = SeasonEnum.values();
        for (SeasonEnum e:values
             ) {


        }
        SeasonEnum xx = SeasonEnum.valueOf("SPRING");
        System.out.println(xx);

//        System.out.println(xx);

        String pi = Constants.PI;
        System.out.println(pi);
    }
}
